package org.exeed.service;


import org.exeed.utils.JWTUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;
import java.util.concurrent.TimeUnit;



@Service
public class TokenService {


    public String createToken(String uuid, Map<String, Object> payload, Long expired) throws Exception {
        return JWTUtils.createJWT(uuid, payload, expired);
    }



}
